import Vue from "vue"
import Vuex from "vuex"


//2. 使用vuex插件
Vue.use(Vuex);


//3.实例化一个vuex仓库,并暴露
//4. 给仓库传入配置(state mutations actions getters modules)
export default new Vuex.Store({
    state: {
      count: 0,
      num:0,
    },
    mutations: {},
    actions: {},
    getters: {},
  });